stack:stack.o test.o
		gcc -o $@ $^

stack.o:stack.c
		gcc -c -o  $@ $^

test.o:test.c
		gcc -c -o $@ $^

.PHONY:clean
clean:
	rm -rf stack test.o stack.o
